package zust.se.delicious.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

public class User {
	private int id;
	private String username;
	private String password;
	private Timestamp registerTime;
	private String avatar = "keyboardcat.png";
	private String email;

	public User(int id) {
		this.id = id;
	}

	public User() {
	}

	public Timestamp getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Timestamp registerTime) {
		this.registerTime = registerTime;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	private String introduce;

	private Set<Follow> followerSet = new HashSet<Follow>();
	private Set<Follow> followingSet = new HashSet<Follow>();
	private Set<Follow> bookmarkSet = new HashSet<Follow>();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Set<Follow> getFollowerSet() {
		return followerSet;
	}

	public void setFollowerSet(Set<Follow> followerSet) {
		this.followerSet = followerSet;
	}

	public Set<Follow> getFollowingSet() {
		return followingSet;
	}

	public void setFollowingSet(Set<Follow> followingSet) {
		this.followingSet = followingSet;
	}

	public Set<Follow> getBookmarkSet() {
		return bookmarkSet;
	}

	public void setBookmarkSet(Set<Follow> bookmarkSet) {
		this.bookmarkSet = bookmarkSet;
	}
}
